﻿@model IEnumerable<Common.Type.TreeViewNode>
<nav class="" role="navigation">
    <div class="nav toggle">
        <a id="menu_toggle"><i class="fa fa-bars"></i></a>
    </div>
    <ul id="step1" class="nav nav-tabs bar_tabs sme-header-menu right" role="tablist">
        @foreach (var item in Model)
        {
            if (Request.RequestContext.RouteData.Values["controller"].ToString() == item.Controller)
            {
                <li id="@item.IdCss" class="active">
                    @Html.ActionLink(item.Value, item.Action, item.Controller, null, null)
                </li>
            }
            else
            {
                <li id="@item.IdCss" class="">
                    @Html.ActionLink(item.Value, item.Action, item.Controller, null, null)
                </li>
            }
        }
    </ul>
</nav>